package com.im.service.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuzhiqiang
 */
@Data
@ApiModel(value = "ChatHistoryQuery", description = "ChatHistoryQuery")
public class ChatHistoryQuery {

    @ApiModelProperty("目标id 人id 或 群组id")
    private Long targetId;

    @ApiModelProperty("开始索引")
    private Long startIndex;

    @ApiModelProperty("结束索引")
    private Long endIndex;

    @ApiModelProperty("类型 1 人 2 群组")
    private Integer type;

    @ApiModelProperty("关键字")
    private String keyword;
}
